package com.lsh.nio;

/**
 * @author ：LiuShihao
 * @date ：Created in 2021/3/1 12:01 下午
 * @desc ：NIO创建的TimeServer源码
 */
public class TimeServer {
    public static void main(String[] args) {
        int port = 8080;
        MultiplexerTimeServer timeServer =  new MultiplexerTimeServer(port);
        new Thread(timeServer,"NIO-MultiplexerTimeServer-001").start();
    }

}
